package com.plugin.core.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 菜品基础表实体类
 *
 * @author mark
 * @date 2025-07-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("elder_dish")
public class ElderDish {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("dish_name")
    private String dishName;

    @TableField("category_id")
    private Long categoryId;

    @TableField("price")
    private BigDecimal price;

    @TableField("del")
    private Integer del;

    @TableField("create_time")
    private LocalDateTime createTime;
}
